import {Text, View} from '@tarojs/components'
import {useLoad} from '@tarojs/taro'
import './index.scss'
import {getLoginCode} from "@/utils/bussiness_utils";
import globalData from "@/global_data";

export default function Index() {
  useLoad(() => {

  })

  const initLoginCode = async () => {
    globalData.code = await getLoginCode();
  }

  return (
    <View className='index'>
      <Text>Hello world!</Text>
    </View>
  )
}
